package five;

/*
 *ClassName:Circle
 *UserName:邓嘉豪
 *CreateTime:2020/9/11 13:04
 */
public class Circle extends  Shape{
    int n;
    @Override
    public int calArea(int n, int m) {
     double y_area = n*n*3.14;
     y_area=(double) Math.round(y_area*100)/100;
     //System.out.println(y_area);
     int area = (int)y_area;
     return area;
    }
}
